<script>
    'use strict';

    var app = angular.module("WDCC");

    app.register.controller('DataCenterCtrl', ['$scope', 'toastr', '$http', '$rootScope', '$location', '$anchorScroll', function ($scope, toastr, $http, $rootScope, $location, $anchorScroll) {

        $scope.PublicHead = "html/Public/PublicHead.html";
        $scope.PublicLeft = "html/Public/PublicLeft.html";

        $scope.go = function (name) {
            $scope.DataCenterUrl = "html/DataCenter/" + name + ".html";
            $anchorScroll();
        }

        $scope.go("DataCenter")

        $scope.QueryInfo = {
            pageSize: 10, //每页显示条数
            pageNum: 0, //当前页
            endRow: 0, //结束行
            startRow: 0,//开始行
            pages: 0, //总页数
            total: 0  //总记录条数
        };

    }]);

</script>
<div ng-controller="DataCenterCtrl" ng-include="DataCenterUrl"></div>
